Relative Content

Tag Archive for apipostman

Unauthorized error with valid Bearer token from OAuth2.0

I’m trying to setup API on Postman. The service that I use is SPS-commerce and here is the link of developer site. Not only on Postman, it also happens the other API platform
(https://developercenter.spscommerce.com/#/home)

Flights price API

I am stuck with a problem of finding API for my project. The only purpose is to find all flights from the given airport on the given day. Anything working like “Anywhere” search on kiwi/skyscanner with specified airport and date (one-way).
As for budget, I can afford some 10$ for my own usage but it is not meant to be for deployment. Therefore I cannot afford some database subscriptions and other approaches designed for businesses.
While the problem not being directly related to hard-coding, I hope some of you have ideas what service to use.

404 forbidden API error but working in Postman

public static DataSet PostData_PurpleAPITxnStatus1(Credentials crd, string Url, string MethodName, string JsonRequest, string SessionToken, string SoapAction = null, string ContentType = null, string EntireSopaAction = null, string Product = null, string Param1 = null, string Param2 = null, string Param3 = null, string Allow = null)
{

Error: getaddrinfo ENOTFOUND postman-library-api.glitch.me

I was trying to make the exercises from the tutorial provided by Postman, API 101: API Fundamentals after watching the video provided and studying the slides. The problem I am currently experiencing revolves around the endpoints provided by Postman: every time I try even to make a basic GET request using this baseUrl: https://postman-library-api.glitch.me and the subsequent specific endpoint: https://postman-library-api.glitch.me/books, I always receive an error both on the console and in the Response tab:

Send Raw & Form-Data at the same time in postman

I’m using Postman now, I have a payload on my raw and on the form data I have files[], can I send them together? on my api im returning the files[] to return $request->file(‘files’); but i do get blank. does anyone know how to send them both at the same time?

how to check api data

this api {{url}}/api/v1/dishes/{{dish_id}}/instock with this payload {
“available”: true,
“kitchen_id”: “{{kitchen_id}}”
}, this is post request but when i send it return this