• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

FOG API returning 404

Scheduled Pinned Locked Moved
General
3
6
817
Loading More Posts
  • 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.
  • M
    maikBat
    last edited by maikBat May 1, 2018, 2:44 PM May 1, 2018, 8:44 PM

    Hi,

    I have a app that have been connected to my FOG server using the API. I installed a new server today and the API request is only returning 404. I tested with Postman and I’m getting the same result. Using http://fogip/fog/system/status | info endpoint just getting 404. The rest of the system is working as expected API is enabled and user API is enabled too. Also using tokens (API token, User APi token) on headers. Fog version 1.5.2.

    Thanks

    W T 2 Replies Last reply May 1, 2018, 9:32 PM Reply Quote 0
    • W
      Wayne Workman @maikBat
      last edited by May 1, 2018, 9:32 PM

      @maikbat See this: https://forums.fogproject.org/topic/11764/api-broken-after-update-to-1-5-2

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • M
        maikBat
        last edited by May 2, 2018, 1:04 PM

        Got it,

        Thanks you so much.

        1 Reply Last reply Reply Quote 0
        • M
          maikBat
          last edited by May 2, 2018, 2:05 PM

          Tested with working branch, same result.

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by May 2, 2018, 2:23 PM

            Asking @tom-elliott to take a look at this when he has some time.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott @maikBat
              last edited by May 2, 2018, 4:22 PM

              @maikbat by default the api access is disabled. Check fog configuration ->fog settings->API Settings and enable

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                3/6
                Last post

              231

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project