Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter katieTBH

    (@katietbh)

    The role is created through code and it may be difficult to duplicate. I’m happy to share more info with you privately but should I buy support token?

    Thread Starter katieTBH

    (@katietbh)

    Here is the sample request. (modified only to remove private info)

    POST /portal/wp-json/wpas-api/v1/tickets
    cache-control: no-cache
    postman-token: 8a6fe1cd-da97-4669-bcbc-23cc88f1d0
    authorization: Bearer eyJ0…
    user-agent: PostmanRuntime/6.4.1
    accept: */*
    host: s1.solutions
    cookie: smtl-test-cookie=smtl-test-cookie; PHPSESSID=lg1g8oqb3d30eqeearvap5; smtl-test-cookie=WP+Cookie+check; _wpas_session=f06fd93c7f9c726360;
    accept-encoding: gzip, deflate
    content-type: multipart/form-data; boundary=————————–90761816893347195517423
    content-length: 324
    title=This is a new messagecontent=This is the content of a new message.

    HTTP/1.1 403
    status: 403
    date: Thu, 15 Feb 2018 03:21:57 GMT
    server: Apache
    x-powered-by: PHP/5.6.33
    pragma: no-cache
    x-robots-tag: noindex
    link: <https://s1.solutions/portal/wp-json/&gt;; rel=”https://api.w.org/&#8221;
    x-content-type-options: nosniff
    access-control-expose-headers: X-WP-Total, X-WP-TotalPages
    access-control-allow-headers: Authorization, Content-Type
    expires: Wed, 11 Jan 1984 05:00:00 GMT
    cache-control: no-cache, must-revalidate, max-age=0
    allow: GET
    set-cookie: _wpas_session=f06fd93c7f9c; expires=Thu, 15-Feb-2018 03:44:23 GMT; Max-Age=1345;
    keep-alive: timeout=5, max=100
    connection: Keep-Alive
    transfer-encoding: chunked
    content-type: application/json; charset=UTF-8
    {“code”:”rest_cannot_assign_term”,”message”:”Sorry, you are not allowed to assign the provided terms.”,”data”:{“status”:403}}

Viewing 2 replies - 1 through 2 (of 2 total)