I want to develop Mobile App which will provide data from API based on the request. Now the problem is API provider do not allow API Request from app instead they want API Request from single IP of server.
So, How can I forward API Request from app to my server and get JSON response back in app.
Related
I am new to API Gateway and as per my requirement I want to send json formatted data to Kinesis from HTTP URL.
However I have created a REST API and created a GET method with HTTP Integration.
But now I want to upload this data which I have collected from HTTP URL to Kinesis and I am not able to find any way to upload this data to Kinesis.
API gateway nicely integrates with kinesis via what is known as a 'Proxy Integration'. In this case the rest call will place the data onto a kinesis stream.
AWS have a great example of how do to this:
https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-kinesis.html
Key Points:
Create a new rest API via API Gateway
Check the proxy integration box
Select the desired kinesis data stream
insure correct IAM permissions
I am new for Salesforce CRM. I want to integrate API for Salesforce for that I have created a developer app and get consumer key and consumer secret. I am using yii2.
Which API should I use?? REST or SOAP???
Whenever m running below the line in my terminal it returns invalid client response.
curl https://login.salesforce.com/services/oauth2/authorize?response_type=code&client_id=YOURCONSUMERID&redirect_uri=https://www.yourappname.com/api/callback
Here, in place of YOURCONSUMERID I am sending my salesforce App's consumer key.
My client Id is valid still it returns me a response like,
error=invalid_client_id&error_description=client%20identifier%20invalid
I am implementing Web Push Notification in an application and I have successfully registered the client app with GCM. I have the subscription object that contains the endpoint that looks like this.
"https://android.googleapis.com/gcm/send/dV4lSfI5J6Q:APA91bEU28F9YG5qNr3xSjvYlH2Mh1GPgiqMaRcjandHbpfqnVyAeZxqoE31OXYq4yzW2_vrkn74YHdgsITZP_6SELO8-xHf1hylquJefJdY85-Xx9AWTAPP9H6kfq7CKp23dsoQHbH
I read and found out that we need to use a third party library like web-push to send push using this endpoint to the clients because the payload needs to be encrypted according to spec. My objective is to send notifications to all my users, web + mobile, at once, using Firebase Console's Notification feature.
Is there a way to send push to web clients using Firebase console or to convert the GCM endpoint to an FCM token?
Update: If I try to use Firebase console to send push the token generated above, I get the following error.
As per testing this out, for some reason, registration tokens for Web are not working or allowed in the Firebase Console. Only tokens for Android and iOS do:
The request could still proceed where the console would show that it is sent/complete, but there wouldn't be any messages received.
How to connect ParseHub API to Parse.com.
I've a website that I want to get the data from and I did it with parsehub.com,and now after I've build the app with swift and parse backend and I want to get the content from the website by ParseHub.
My Question is how to hook both projects form ParseHub API to Parse API "API console" or webhooks?
I did read about POST GET DELETE PUT request's but
One Way I did which is export ParseHub to CSV/JSON then upload it manually to Parse.com but I want to make Automatic with an API
Parsehub API
https://www.parsehub.com/docs/guides/api_tutorial
I have written a mosync application that interacts with a REST we service. I am using the AMDownload package. Wat is the right way to send the json payload required by the REST API?
The HTTP 400 Bad Request perhaps happens because the MoSync Android runtime messes up the URL, causing the server to return this error. Alternatively, perhaps the MoSync Android runtime considers the URL to be wrong, and sends back the HTTP 400 Bad Request.
Is it possible for you to test on an Android device? To see if the result is the same.
Also, is it possible to find the exact URL/data sent to the server? Perhaps using some network monitor software. If you have access to the server, can you see the request it receives? If you would enter the same request in a client like the Firefox RESTClient, do you get the same response?