Skip to content
  • Categories
  • Recent
  • Popular
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB-ActivityPub Bridge Test Instance

  1. Home
  2. Categories
  3. General Discussion
  4. AP Test (community.nodebb.org)
  5. Hey @julian, can you help me with a quick debugging session?

Hey @julian, can you help me with a quick debugging session?

Scheduled Pinned Locked Moved AP Test (community.nodebb.org)
2 Posts 2 Posters 8 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • raphael@mastodon.communick.comR This user is from outside of this forum
    raphael@mastodon.communick.comR This user is from outside of this forum
    raphael@mastodon.communick.com
    wrote on last edited by
    #1

    Hey @julian, can you help me with a quick debugging session?

    Why would ` curl 'https://forum.wedistribute.org/category/5/fediverse' -H 'Accept: application/activity+json, application/ld+json'
    `

    return the expected JSON LD representing the actor, but the exact equivalent request fail with node.js?

    julian@community.nodebb.orgJ 1 Reply Last reply
    0
    • raphael@mastodon.communick.comR raphael@mastodon.communick.com

      Hey @julian, can you help me with a quick debugging session?

      Why would ` curl 'https://forum.wedistribute.org/category/5/fediverse' -H 'Accept: application/activity+json, application/ld+json'
      `

      return the expected JSON LD representing the actor, but the exact equivalent request fail with node.js?

      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote on last edited by
      #2

      @raphael@mastodon.communick.com hmm interesting, can you share the code that's making the call?

      Usually if it's working with curl it'll work with Node, so this suggests there's something different with the way the call is made with node.

      For what it's worth, internally, NodeBB uses the built-in fetch method from Node.js.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Popular