× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



ok, so basically these are parameters when the API is run.

How are parameters used with http_post?

I have found 0 documentation over the years about using parameters in qsys2
http services (unless I was looking in the wrong place)...

Can anyone explain how they are used if they can be used?

thanks

Jay

On Mon, Jul 15, 2024 at 8:03 AM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:

can anyone tell me how to structure the body as illustrated in this curl
api but for a qsys2.http_post...


curl --location 'myendpoint'\
-- header 'content-Type: application/x-www-form-urlencoded'\
-- data-urlencode 'grant_type=client_credentials'\
-- data-urlencode 'client_id=<client_id>'\
-- data-urlencode 'client_secret=<client_secret>'


I'm used to just sending json body's... not sure how I'd format this one
in an http_post...

tia

Jay


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.