Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

Dynamic API Query

$
0
0
Hello,

Is there a way to dynamically insert user-supplied parameters into an API query URL prior to calling the API?

For instance, in the URL below...

https://vpic.nhtsa.dot.gov/api/vehicles/GetParts?type=565&fromDate=1/1/2015&toDate=5/5/2015&format=json

...is there a PHPRunner method available to prompt the user, prior to calling the API, for the type, fromDate, and toDate parameters?


The underlying reason for this request is to enable users to dynamically search by Movie Title in this PHPRunner-generated view...

https://www.customdataservices.net/restapisdb/tmdb_now_playing_list.php?a=return

Viewing all articles
Browse latest Browse all 2586

Trending Articles