Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emmanuel-sunmbola/curlpost
A side project to test my API
https://github.com/emmanuel-sunmbola/curlpost
curl php rest-api testing
Last synced: 21 days ago
JSON representation
A side project to test my API
- Host: GitHub
- URL: https://github.com/emmanuel-sunmbola/curlpost
- Owner: EMMANUEL-SUNMBOLA
- Created: 2024-04-27T03:22:37.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-02T17:39:08.000Z (6 months ago)
- Last Synced: 2024-10-15T17:33:23.757Z (21 days ago)
- Topics: curl, php, rest-api, testing
- Language: PHP
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CURL - POST
- To test my `Api` for `POST` requests
- `POST` requests now work for `arrays`, `JSON` next
- `curlpull.php` tests the `GET` request
- `POSTMAN` is overrated test your own APIs
- To add the `API-KEY` to your `CURL-POST` request, you need to add the `CURLOPT_HTTPHEADER` attribute to your `curl_setopt_array`
- In the `CURLOPT_HTTPHEADER`, you can add custom values that will be found in the `header` of the `POST` request sent like your `API-KEY`