-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prepare API model / client class for sending through web portal #1615
Comments
To test code I need to know how to generate |
These bytes should contain an OpenPGP-encrypted, armored message. |
@tomholub Could you provide a full log? Something is wrong on my side
|
I've found a reason was
should be
|
But I still can't complete the request
I used a correct PGP message(I use it in tests)
|
I will try to check why FES rejects this message. |
@DenBond7 Opened issue for FES https://github.com/FlowCrypt/flowcrypt-enterprise-on-prem/issues/2238 |
@DenBond7 I will fix this in FES, but meanwhile as as workaround please ensure that you have |
Thank you for the fast feedback! |
part of #1545
Both endpoints accept
Authorization
headerBearer: IDTOKEN
grabbing a reply token before uploading a message
POST https://fes.<domain>/api/v1/message/new-reply-token
response (json):
uploading message to web portal
POST https://fes.<domain>/api/v1/message
The content of the POST are a http multipart request with fields:
| multipart name | type | structure |
|
details
|application/json
| see below ||
content
|application/octet-stream
| bytes |request details structure (json)
response structure (json)
With the above info you should be able to successfully make a request to upload a message to web portal. You will get back URL, which if you follow, should exist.
The text was updated successfully, but these errors were encountered: