API Integration #1377
-
Describe the problem/questionI need to integrate api via powershell and i am without success getting the response url Did you use the FAQ section?
What you did?1.# Variables Convert data to JSON$jsonData = $pasteData | ConvertTo-Json -Compress Ignore SSL errors (only for testing purposes, not recommended for production)Add-Type @" public class TrustAllCertsPolicy : ICertificatePolicy { try { Paste created successfully: What happensno link is generated What should happengive me a link Additional informationNo response Server addresshttps://privatebin.shared.cloud.int/ Server OSNo response WebserverNo response PrivateBin version1.5.1 Browser and versionNo response Local operating system and versionNo response Issue reproducibilityNo, I cannot reproduce it on https://privatebin.net. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Two things:
From: https://github.com/PrivateBin/PrivateBin/wiki/API {"status": 0, "id": "[pasteID]", "url": "[serverAddress?pasteID]", "deletetoken": "[deleteToken]"} More details on the URL format: https://github.com/PrivateBin/PrivateBin/wiki/Encryption-format#url-format-of-the-paste
|
Beta Was this translation helpful? Give feedback.
Two things:
From: https://github.com/PrivateBin/PrivateBin/wiki/API
More details on the URL format: https://github.com/PrivateBin/PrivateBin/wiki/Encryption-format#url-format-of-the-paste