Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.
I work as an affiliate and would like to try to create an API request for the service I use.
Let me explain what I would like to do and how I tried to do it.
The steps are simple.
1.Page with a form on my website with my hosting.
2.Form that sends the data to the “postman”…I guess ![]()
3.The postman sends the data to the service I use.
For example within the affiliate program I use I see an API section with this URL that would be called POST “Credo”.
HTTP POST REQUEST
https://network.worldfilia.net/manager/inventory/buy/bgood_hairwig.json
Then he tells me to pass the parameters and there are a few, but there are necessarily two: the phone and the quantity.
At this point I go into Postman and create a new request.
I insert the url suggested by Worldfilia and add 4 keys with 4 parameters.
When I try to send, and I look into the body gives me a series of errors, as if I had not filled in the phone and the amount.
{“status”:“error”,“errors”:{“phone”:{“_required”:“Field must be filled”},“quantity”:{“lengthBetween”:“Il valore deve avere lunghezza compresa tra 0 e 4 caratteri”}}}