proofgeist / generator

Generator - Store, explore, share and create FileMaker Code
MIT License
35 stars 8 forks source link

Using token instead of authorization? #16

Closed itaberg closed 7 years ago

itaberg commented 7 years ago

I try to make a get request using a token instead of a user/pw. Token is put into request header but always getting an error "?". In postman ther request works fine. is there any easy solution?

toddgeist commented 7 years ago

Thanks for trying Generator :-)

If you can post some more details about what it is you are trying to do, I am sure we can figure it out. You could export the request.json and attach it here. Or you could just attach the Generator file you are using that is showing the errors.

Without something like that or a lot more information about the API and token, I wouldn't even know where to start looking. Sorry.

itaberg commented 7 years ago

so we have this web service to get data as a json file.
e.g. we have a quality profile of of a building. For that I used the postman application and instead of a username and password I used a token. Now setting the headers in generator and doing the request I am not getting any data. my guess is its because i dont use a password but a token. thanks for your help!

toddgeist commented 7 years ago

That should work. Generator should be able to the same things that Postman can do. Unless you share the exact details of the request you are trying to make I can only guess what the problem is.

You might want to make sure that you have an Accept header in Generator. Postman likely adds this for you. So may you not know that it is there.

If you can share the Generator file, I am sure I can help. If you want to send it to support@geistinteractive.com, you can.

Or can you tell me what the API is that you are working with. It is public? Does it have documentation?

Without something more to work with I can't help.

Todd

toddgeist commented 7 years ago

works for me. I am guessing a language issue

itaberg commented 7 years ago

I switched the whole system to english and its still not working, also the file you sent. Or what did you mean by language problem?

On 06 Feb 2017, at 17:02, Todd Geist notifications@github.com<mailto:notifications@github.com> wrote:

works for me. I am guessing a language issue

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/geistinteractive/generator/issues/16#issuecomment-277727084, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYWfTqR6wb1kn5HkT3ag41a6qgWPWPF9ks5rZ0QjgaJpZM4L2mLZ.


Besuchen Sie unseren neuen Webauftritt unter der Domain wuestpartner.com. Bitte achten Sie auch auf unsere neuen E-Mail-Adressen. Ab sofort lautet unsere Firmenbezeichnung in der Schweiz «Wüest Partner AG».

Visit our new website at wuestpartner.com. Please also pay attention to our new e-mail addresses. From now on, our company name is “Wüest Partner AG” in Switzerland.

Visitez notre nouveau site web à l’adresse wuestpartner.com. Veuillez également noter nos nouvelles adresses e-mail. Notre raison sociale suisse est désormais « Wüest Partner SA» en Suisse.


Disclaimer

Die in dieser E-Mail enthaltenen Informationen sind für den ausschliesslichen Gebrauch durch den Empfänger bestimmt und beinhalten möglicherweise vertrauliche oder gesetzlich geschützte Daten. Wenn Sie diese E-Mail irrtümlicherweise erhalten haben, bitten wir Sie, uns dies so schnell wie möglich per E-Mail oder telefonisch mitzuteilen und die E-Mail sowie allfällige Anhänge dazu unter Ausschluss jeder Reproduktion zu löschen. Besten Dank.

This message is intended only for the recipient and may contain confidential and privileged information. Please notify the sender immediately by e-mail or telephone if you have received it in error and delete the message and any attachments from your system. If your are not the intended recipient, retention, dissemination, distribution, copying or otherwise making use of this message is strictly prohibited.

Les informations contenues dans cet email sont réservées à l'usage exclusif du destinataire et peuvent contenir des informations confidentielles ou protégées par la loi. Si vous recevez cet email par erreur, veuillez s'il vous plaît nous en informer au plus tôt, par téléphone ou par courriel. Dans tous les cas toute reproduction est interdite et l'email doit être effacé. En vous remerciant.

toddgeist commented 7 years ago

As you can see from the File I sent you, it worked. I got back the JSON response.

I am using FileMaker 15, I also tested it with FileMaker 14.0.06 Mac OS Sierra The latest base elements plugin English language.

What sort of response are you getting? Did you try running it in debugger?

Todd

itaberg commented 7 years ago

That is odd. I switched the language to english and Downloaded the Base Elements Plug-in again. As a response I get “?”. The debugger doesn't show any bugs.

On 06 Feb 2017, at 18:53, Todd Geist notifications@github.com<mailto:notifications@github.com> wrote:

As you can see from the File I sent you, it worked. I got back the JSON response.

I am using FileMaker 15, I also tested it with FileMaker 14.0.06 Mac OS Sierra The latest base elements plugin English language.

What sort of response are you getting? Did you try running it in debugger?

Todd

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/geistinteractive/generator/issues/16#issuecomment-277759392, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYWfThMM8a2BUehWp04myNnQlcIt9bmUks5rZ14AgaJpZM4L2mLZ.


Besuchen Sie unseren neuen Webauftritt unter der Domain wuestpartner.com. Bitte achten Sie auch auf unsere neuen E-Mail-Adressen. Ab sofort lautet unsere Firmenbezeichnung in der Schweiz «Wüest Partner AG».

Visit our new website at wuestpartner.com. Please also pay attention to our new e-mail addresses. From now on, our company name is “Wüest Partner AG” in Switzerland.

Visitez notre nouveau site web à l’adresse wuestpartner.com. Veuillez également noter nos nouvelles adresses e-mail. Notre raison sociale suisse est désormais « Wüest Partner SA» en Suisse.


Disclaimer

Die in dieser E-Mail enthaltenen Informationen sind für den ausschliesslichen Gebrauch durch den Empfänger bestimmt und beinhalten möglicherweise vertrauliche oder gesetzlich geschützte Daten. Wenn Sie diese E-Mail irrtümlicherweise erhalten haben, bitten wir Sie, uns dies so schnell wie möglich per E-Mail oder telefonisch mitzuteilen und die E-Mail sowie allfällige Anhänge dazu unter Ausschluss jeder Reproduktion zu löschen. Besten Dank.

This message is intended only for the recipient and may contain confidential and privileged information. Please notify the sender immediately by e-mail or telephone if you have received it in error and delete the message and any attachments from your system. If your are not the intended recipient, retention, dissemination, distribution, copying or otherwise making use of this message is strictly prohibited.

Les informations contenues dans cet email sont réservées à l'usage exclusif du destinataire et peuvent contenir des informations confidentielles ou protégées par la loi. Si vous recevez cet email par erreur, veuillez s'il vous plaît nous en informer au plus tôt, par téléphone ou par courriel. Dans tous les cas toute reproduction est interdite et l'email doit être effacé. En vous remerciant.

toddgeist commented 7 years ago

Yes the debugger does show a bug. The "?" is a bug. The question is when does that appear.

itaberg commented 7 years ago

So i tried it with an external connection and it works fine! Thank you for your support!

On Feb 6, 2017, at 21:13, Todd Geist notifications@github.com<mailto:notifications@github.com> wrote:

Yes the debugger does show a bug. The "?" is a bug. The question is when does that appear.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/geistinteractive/generator/issues/16#issuecomment-277799371, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYWfTgx0YXTFskXR_NO0GSUCwDLt1E2Zks5rZ37egaJpZM4L2mLZ.


Besuchen Sie unseren neuen Webauftritt unter der Domain wuestpartner.com. Bitte achten Sie auch auf unsere neuen E-Mail-Adressen. Ab sofort lautet unsere Firmenbezeichnung in der Schweiz «Wüest Partner AG».

Visit our new website at wuestpartner.com. Please also pay attention to our new e-mail addresses. From now on, our company name is “Wüest Partner AG” in Switzerland.

Visitez notre nouveau site web à l’adresse wuestpartner.com. Veuillez également noter nos nouvelles adresses e-mail. Notre raison sociale suisse est désormais « Wüest Partner SA» en Suisse.


Disclaimer

Die in dieser E-Mail enthaltenen Informationen sind für den ausschliesslichen Gebrauch durch den Empfänger bestimmt und beinhalten möglicherweise vertrauliche oder gesetzlich geschützte Daten. Wenn Sie diese E-Mail irrtümlicherweise erhalten haben, bitten wir Sie, uns dies so schnell wie möglich per E-Mail oder telefonisch mitzuteilen und die E-Mail sowie allfällige Anhänge dazu unter Ausschluss jeder Reproduktion zu löschen. Besten Dank.

This message is intended only for the recipient and may contain confidential and privileged information. Please notify the sender immediately by e-mail or telephone if you have received it in error and delete the message and any attachments from your system. If your are not the intended recipient, retention, dissemination, distribution, copying or otherwise making use of this message is strictly prohibited.

Les informations contenues dans cet email sont réservées à l'usage exclusif du destinataire et peuvent contenir des informations confidentielles ou protégées par la loi. Si vous recevez cet email par erreur, veuillez s'il vous plaît nous en informer au plus tôt, par téléphone ou par courriel. Dans tous les cas toute reproduction est interdite et l'email doit être effacé. En vous remerciant.

toddgeist commented 7 years ago

Ah so it was a Firewall issue?

itaberg commented 7 years ago

Yes apparently. Postman works fine with all connections. Is there any way to set Proxy-Settings?

On Feb 7, 2017, at 14:53, Todd Geist notifications@github.com<mailto:notifications@github.com> wrote:

Ah so it was a Firewall issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/geistinteractive/generator/issues/16#issuecomment-278005570, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYWfTks2I0WfCXFy7Y0nPCHSb_6F7DwPks5raHdIgaJpZM4L2mLZ.


Besuchen Sie unseren neuen Webauftritt unter der Domain wuestpartner.com. Bitte achten Sie auch auf unsere neuen E-Mail-Adressen. Ab sofort lautet unsere Firmenbezeichnung in der Schweiz «Wüest Partner AG».

Visit our new website at wuestpartner.com. Please also pay attention to our new e-mail addresses. From now on, our company name is “Wüest Partner AG” in Switzerland.

Visitez notre nouveau site web à l’adresse wuestpartner.com. Veuillez également noter nos nouvelles adresses e-mail. Notre raison sociale suisse est désormais « Wüest Partner SA» en Suisse.


Disclaimer

Die in dieser E-Mail enthaltenen Informationen sind für den ausschliesslichen Gebrauch durch den Empfänger bestimmt und beinhalten möglicherweise vertrauliche oder gesetzlich geschützte Daten. Wenn Sie diese E-Mail irrtümlicherweise erhalten haben, bitten wir Sie, uns dies so schnell wie möglich per E-Mail oder telefonisch mitzuteilen und die E-Mail sowie allfällige Anhänge dazu unter Ausschluss jeder Reproduktion zu löschen. Besten Dank.

This message is intended only for the recipient and may contain confidential and privileged information. Please notify the sender immediately by e-mail or telephone if you have received it in error and delete the message and any attachments from your system. If your are not the intended recipient, retention, dissemination, distribution, copying or otherwise making use of this message is strictly prohibited.

Les informations contenues dans cet email sont réservées à l'usage exclusif du destinataire et peuvent contenir des informations confidentielles ou protégées par la loi. Si vous recevez cet email par erreur, veuillez s'il vous plaît nous en informer au plus tôt, par téléphone ou par courriel. Dans tous les cas toute reproduction est interdite et l'email doit être effacé. En vous remerciant.

toddgeist commented 7 years ago

well yes and no. The base elements plugin exposes all the cURL options so you could probably get it to work, if you made some change to the code. But, this is not something we can support right now.