Hitting Endpoint via External Source #993
Unanswered
may-butter
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone been able to hit their warpgate server's api endpoints via something like Spring? I can't hit those endpoints even after hardcoding endpoints to contain the warpgate target. Are there specific tokens needed and if so, is there a way to get those or fetch them via google functions since we are using Google SSO? For reference I am working in Java and Groovy. My typical endpoint calling kind of looks like this:
def response = httpBuilder.post { request.uri.path = '/api/fetch/info' request.contentType = 'application/x-www-form-urlencoded' requestBody.page = page request.body = requestBody request.encoder 'application/x-www-form-urlencoded', NativeHandlers.Encoders.&form }Beta Was this translation helpful? Give feedback.
All reactions