Questions tagged [endpoints]
228 questions
0
votes
0 answers
Wordpress Plugin (Singleton) - Cant add new WooCommerce endpoint and flush_rewrite_rules
I'm building a Wordpress Plugin (structured as a Singleton) that, when activated, inserts three new WooCommerce Endpoints (each endpoint is stored in a separate file containing the Endpoint Class). Finally, a mandatory flush_rewrite_rules() is…

Allan Crabtree
- 11
- 1
- 5
0
votes
2 answers
arangodb, How to retrieve JSON from Post request
I'm posting a JSON message to an endpoint in my foxx microservice.
It's unclear to me how to get the complete JSON in order to parse it:
router.post('/storeDataRecord', (req, res) => {
....
}).body('deviceData');
This is the json:
{
“data”:…

alfven
- 147
- 8
0
votes
1 answer
Raw HTTP request body in App Engine Endpoint
I am interested in getting the raw body of the HTTP POST request that comes to my endpoint when directly calling the URL where this endpoint lives (https://.appspot.com/_ah/api/endpoints/v1/test) and supplying the body with it. Here is…

my chalupa
- 137
- 11
0
votes
2 answers
Wait for Ajax call in function to end, THEN return object to an outside variable
I want to use JavaScript asynchronous, as it was intended. I want to assign the recieved data/objects to as many variables as I'll need (DataModel01, DataModel02, DataModel03 and so on). The idea is that my need for API data change all the time, and…

jespardk
- 3
- 3
0
votes
1 answer
Custom Endpoints for Firebase
We want to use Firebase Realtime Database, Firebase Storage, and Firebase Server SDK in a project.
How can we expose this project using custom endpoints which can be used in Android, ios, and web?
Edit
After further research I understand that it…

Chebyr
- 2,171
- 1
- 20
- 30
0
votes
1 answer
Cannot find module '..\npm\node_modules\yo\lib\cli.js'
when i am trying to add endpoints using command "yo angular-fullstack:endpoint name", i am getting this error:
module.js:341
throw err;
^
Error: Cannot find module 'C:...npm\node_modules\yo\lib\cli.js'
at…

Muhammad Shaharyar
- 1,044
- 1
- 8
- 23
0
votes
1 answer
Post method in node renders 500 error
I have several post methods in node. One of them works, now I am working on the other. I've tried switching the order of the key-value pairs in the res.body, restarting my backend server, and a few other things, and now I am out of ideas. I am using…

Colin Aulds
- 147
- 1
- 3
- 16
0
votes
2 answers
Google endpoints OAuth with Post methods
I would like to add OAuth to my endpoints backend. As the "Hello Endpoints Code Walk Through" points out, it is enough to have the following:
@ApiMethod(name = "greetings.authed", path = "hellogreeting/authed")
public HelloGreeting…

RSai
- 51
- 6
0
votes
1 answer
What are the ramifications of an unconfigured (but working) endpoint?
I have a fully functional wcf service where I can perform CRUD operations using jQuery on the client. I want this small service application to be portable so I am trying to avoid any app or web.config settings (e.g. Specific address endpoints). I…

trevorc
- 3,023
- 4
- 31
- 49
0
votes
1 answer
Reuse/reconnect receiver endpoint to new sender endpoint
I'm using node-js API to use kurento. So, I connect sender's webrtcendpoint to receiver endpoint using code -
senderWebRtcEndPoint.connect(receiverWebRtcEndPoint, function(error) {
if (error) {
return…

Akshay Rathore
- 819
- 1
- 9
- 23
0
votes
0 answers
How to use JodaTime in google cloud endpoints in android studio
I am currently working google app engine using objectify, endpoints and datastore.I wanted to use jodatime to store date and time on datastore but I am unable to do that because of following exception:
ISOChronology is not a registered @Subclass…

Baqir
- 717
- 1
- 7
- 20
0
votes
0 answers
Call an end point in each node in Elastic Beanstalk
I have a spring-boot service set up in Elastic Beanstalk. I need to call an end point on each of the nodes in the service but all I know is the end point with load balancer's hostname.
How can I ensure that each node gets called? Is there a way to…

Nik
- 5,515
- 14
- 49
- 75
0
votes
1 answer
davezuko/react-redux-starter-kit create nodejs api endpoints. How to?
I just started to explore a bit this reactjs-redux boilerplate from davezuko which structure is fractal and I search a way to implement api endpoints to fetch data from mongodb.
What are the approaches? The way to go is to create a new route and…

fefe
- 8,755
- 27
- 104
- 180
0
votes
1 answer
Can I have two instances on same App Engine project - Java servlet and Endpoints side by side?
We have Java servlets up and running on GAE, using blobstore, datastore and other cloud services.
Currently, we're starting a migration process to cloud Endpoints and we've hit an issue: if we use a different GAE project, we would not be able to…

Mor Blau
- 420
- 3
- 15
0
votes
0 answers
Google Cloud Endpoints + Googles Maps API
I am developing an Android application that leverages Google Cloud Endpoints and Google Maps API. I am running into this issue when I am running the app.
Error:Execution failed for task…

user2197917
- 43
- 1
- 10