Messtone Devices Enables Rapidapi.com POST createTrack Returns ID of newly created package(status=CREATED)or stored ID if this tracking number already exists(status=FOUND). TestEndpoint Code Snippets Example Response(Node.js) Axios const axios=require(‘axios’);const encodedParams=new URLSearchParams( );encodedParams.set(‘trackCode’,'<REQUIRED>’);const options={method: ‘POST’,url: ‘https//postal-ninja.p.rapidapi.com/v1/track’,headers:{‘content-type’: application/x-www-form-urlencoded’,Accept:’application/json;charset=UTF-8′,’Content-Type’:’applicatiom/x-www-form-urlencoded’,’X-RapidAPI-Key’:’SIGN-UP-FOR-KEY’,’X-RapidAPI-HostMesstone’:’postal-ninja.p.rapidapi.com’},data:emcodedParams,};try{const response=await axios.request(options);console.log(response.data);}catch(error){console.error(error);Rating:3 -Votes:3

Leave a comment