• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

A problem with Photoshop API

New Here ,
Dec 04, 2021 Dec 04, 2021

Copy link to clipboard

Copied

Greetings. Can someone explain to me what I'm doing wrong. In the old Photoshop API example, I do everything as written in Getting started, and get my "Hellow world",

curl --request GET \
  --url https://image.adobe.io/pie/psdService/hello \
  --header "Authorization: Bearer eyJhbGciOiJSUzI1NiIsIng1dSI6Imltc19uYTEta2V5LTEuY2VyIn0.eyJpZCI6IjE2Mzg2MzUxMjM5NDFfNWZlODBhODAtZTRkNi00ZjFmLTk0YzgtNTQ3YjAwOTY3MDc4X3VlMSIsInR5cGUiOiJhY2Nlc3NfdG9rZW4iLCJjbGllbnRfaWQiOiI2YjA0MTQyOWRkM2M0MGY0ODU0MjFkOGUwMjAyYTU2MSIsInVzZXJfaWQiOiJDMkUwM0UwODYxQUI5NUVFMEE0OTVFQjFAdGVjaGFjY3QuYWRvYmUuY29tIiwiYXMiOiJpbXMtbmExIiwiYWFfaWQiOiJDMkUwM0UwODYxQUI5NUVFMEE0OTVFQjFAdGVjaGFjY3QuYWRvYmUuY29tIiwiY3RwIjowLCJmZyI6IlY3NE5UWUZXRkxFNUlYVUNITVFCUkhRQTNFPT09PT09IiwibW9pIjoiYzQ1NTRjZWEiLCJleHBpcmVzX2luIjoiODY0MDAwMDAiLCJzY29wZSI6Im9wZW5pZCxBZG9iZUlELHJlYWRfb3JnYW5pemF0aW9ucyIsImNyZWF0ZWRfYXQiOiIxNjM4NjM1MTIzOTQxIn0.krl9rSFVnhB3MTRWFkE7o3iIOxsfOTAtq8qankUI4AdLHa0L9ufsW28vYZrEsLpiYEHlDyTY5MEDv5ok3gEmHLat046KNqwMM8FI2-5bKgLq0JnHLUqYdMme1CXgIkZa5Kcod8VD2arbXIP9HpsNN_bkuLNUV6kXtcxrmleCDXOAZS9k2S-MHxCTWjv0c-vY364mRYfbvy2VsCkCxAsJbAKvtqCds1pUb3IY1v7wY1Nm_BrJCY7Ta9deHDVNjtulcduPfIvayZ5j1Dl9k7-QVCJe3vucjd9mgcfF0PmYKede2Gk5Br5bXNc5zda6H5z-YK9mKIyIp7nffU9VhC7cDQ" \
  --header "x-api-key: 6b041429dd3c40f485421d8e0202a561"

but as soon as I use the command line query, as shown in the Execute Photoshop Actions documentation, I get this answer

 

1223.png

curl --request GET \
  --url https://image.adobe.io/pie/psdService/photoshopActions \
  --header "Authorization: Bearer eyJhbGciOiJSUzI1NiIsIng1dSI6Imltc19uYTEta2V5LTEuY2VyIn0.eyJpZCI6IjE2Mzg2Mzk5NDA5NzVfZTUzYWU0NjQtNzU1NS00MTFkLWIzYWMtNDZmZmY1N2ViOTFmX3VlMSIsInR5cGUiOiJhY2Nlc3NfdG9rZW4iLCJjbGllbnRfaWQiOiI0YzQzMTRhNGI4OWI0NTNlOWFjMWQwZDE2NWZhYzc5OSIsInVzZXJfaWQiOiJDQTYxNkJBRDYxQUJBOEExMEE0OTVDODdAdGVjaGFjY3QuYWRvYmUuY29tIiwiYXMiOiJpbXMtbmExIiwiYWFfaWQiOiJDQTYxNkJBRDYxQUJBOEExMEE0OTVDODdAdGVjaGFjY3QuYWRvYmUuY29tIiwiZmciOiJWNzRTVEpFUEZMRTVJWFVDSE1RQlJIUUEzRT09PT09PSIsIm1vaSI6ImJhNDgwZDk2IiwiZXhwaXJlc19pbiI6Ijg2NDAwMDAwIiwic2NvcGUiOiJvcGVuaWQsQWRvYmVJRCxyZWFkX29yZ2FuaXphdGlvbnMiLCJjcmVhdGVkX2F0IjoiMTYzODYzOTk0MDk3NSJ9.FU9ZVbQFO-Do1WTLytDkvtjhJf9Aaa6M-whIKzUEeh-atHTboLrUl9WXo0skOB1Ojea7iiiMxKcofp1SoNOQRR33AuiWD_Zk2UoRFtDzgpT9pSYAhi64X3nwXya0P47WW6gE1ueasnMhIPRDTGox4fCTtoiYDKKzxSejqVeOCIcw5zQaOsK1lAjdWIDbAfTmMNnqa8oefTmevHisGOESGjK9DNW3u6EdVHvdH_BfK02H4ox_Dm85Xww41p2Axe1Nvi5eKrvTVJJkUNnbL40BuDwa9SkcK3F9PR6Hh5yZGgmqbbv5lJDmbK9VfqSkLy2gCDXuaZQhl89Vub6aX_2CCA" \
    --header 'content-type: application/json' \
  --header "x-api-key:4c4314a4b89b453e9ac1d0d165fac799"
    --data '{"inputs":[{"get_presigned_url":"string","storage":"external"}],\
 "options":{"actions":[{"href":"https://get-presigned-url.com/Oil-paint.atn","storage":"string"}]}\
 "outputs":[{"href":"https://put-presigned-url.com/output.jpg","storage":"external","type":"image/jpeg"}]}'

 

TOPICS
Actions and scripting , Windows

Views

256

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
New Here ,
Oct 11, 2022 Oct 11, 2022

Copy link to clipboard

Copied

LATEST

You need to replace GET by POST method

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines