Closed PMLS3 closed 1 year ago
@PMLS3 Can y paste part of that code? Because I've just tested and worked fine.
But anyway there is pre-releases. Try
npm i woocommerce-rest-ts-api@5.0.0
Do you mean this?
Okay, I have tested it on another Woocommerce site and its working. Must be being blocked by clients website, which is weird because its only the products.
Thank you for your time
When I call the products end_point I get the data back with symbols... all other endpoints work 100%.
END products 13:15:29 Response Status: 200 13:15:30 Response Headers: AxiosHeaders { 13:15:30 connection: 'close', 'x-powered-by': 'PHP/7.4.33', 'content-type': 'application/json; charset=UTF-8', 'x-robots-tag': 'noindex', link: 'https://fuchsmerch.co.za/wp-json/; rel="https://api.w.org/"', 'x-content-type-options': 'nosniff', 'access-control-expose-headers': 'X-WP-Total, X-WP-TotalPages, Link', 'access-control-allow-headers': 'Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type',
expires: 'Wed, 11 Jan 1984 05:00:00 GMT', 'cache-control': 'no-cache, must-revalidate, max-age=0', 'x-wp-total': '25', 'x-wp-totalpages': '1', allow: 'GET, POST', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding', date: 'Tue, 29 Nov 2022 11:15:30 GMT', server: 'LiteSpeed', 'alt-svc': 'h3=":443"; ma=2592000, h3-29=":443"; ma=2592000, h3-Q050=":443"; ma=2592000, h3-Q046=":443"; ma=2592000, h3-Q043=":443"; ma=2592000, quic=":443"; ma=2592000; v="43,46"' } Response Data: ��↑�(+�▲↕Q��☺�HY8⌂⌂�♀s�����/��wb����A�L��♦cw �↕m�B�ZRJ��ۗ�N�.6$���ӗ�mBʋq�Mj↨♠����,s‼�a�.����7jLҘ1���W yF�♫�t���☼�nI�Q�vV;Kx�:` ↕S�¶���E=Z�jV��→����♣Y��A▬�dLS�v�f��►∟5��e�}��W�Ӄ.x,i$%�=���Ɓ�� ��ɏ��T�d↨R�}�cO�q:���♥y�^�t"��4�B↑ن��#◄���$�S��4�:LJ�♂mhM뉶4�S�♠&FV�C������▲���ٱ�m��‼�jXX>2A�2�¶����̵�o���ڟ��☼|����~Y���M�W��І♫~ � ٿ��@[�9‼r��§�� ���S>u�C��-5►dڇ�&\��<і^�W�c��D�dK�V~�V�ҕ�oM���8���S ~ކ��▲���r����‼mh=�t!↔�6�>��|↕�@[ʅ�♂��♥�I�lw�>�k0ö�S��∟↔K▲i;�)�d̺∟��d+×⌂W�→��↓�?�@ۥ����W��?]�-4tˊ�[�♦˓��h����7→d��↑↨�2 ~?@x�cy9♣����ZRl♦[%ܳ[��↕=�,��K![,�9li�▼.�t��%�t]]r�0�¤C���%�Ș�����ML♀TiK�LM'w����;�A7�2��"ݾ�♠���5��k,�Iz�d∟1��&-�\��⌂ 6� '|����⌂54�n���
v)� j�w=�,�[tq������↑�&���c(�¶��8�hKS�0����§AC���8�OA_r����f_´♦�'��B7�e �w�§C�m▬�t�◄O�u�s�/�s�
x�⌂�7t�'��◄b�����]w8&⌂�.▲G⌂ m'�$.N�∟�C�e�m+����♥��4↨���x�٦Nv�o�yq���☺�7��7��O�@:U♀ �hC}Jk��Q��☻/¶h��)��♣���(�↓‼↨��8>⌂▬��D��e��Ix�ixm�;5F�Xq��e���en��҆ιF>j‼��q~�▬l�H2Y����l�↔���▼��d��s�a��⌂�7�Yu�.��=!�L���Va�xm��▲c�֎!��ӝ+�☼�y↓‼m�e3���)�↕]F�♥�+�☼�☺(�?ϧ=��<♀�ʣ���G m�ޅ/z�RN[�{[i�♂t�%.�^J��▼▬k��;��X���a▬♦♂Y↑�ie↨↓�)�►0����<���Rb���$K�EkT��♦��<r�4w�?���>'�E���0�wy��∟l�↕�Rb���1�圧A{� ���↕��s↕e�5p�m↕��B����q�NH�ݛPվ��☻�♫�<q�m◄↔�u��t���4��cL �U◄j��q¶�W♂xճ���♦▲�♦Jiӏq→B�Z�x!=↨d►��ĶD]☼�◄5�+�!��♥E�2�� G�U�ไ#Gz���y�o����Q |:��F9!^ʞ}N),y�Rޙ�u�W¶W(�Deߎ���y�%�r:�⌂��↕R�↑�dN9↔�jE+�2���P▼�♥l�l�ñ�)���♫+���#�▼�d���►Jy�yb���Fe9��►∟�♀x�.9��"�♣�∟b]K�☼♂��4��♀��\�♫r�H=M^�]©�%xw��R!��h@����U�p�♦��/8�p1w► �G3<2Ƕ0j4�&���☺=��T�c�↑�݊§�♦¶�š��1\z��Wr)��¶B��►�]+♠ 6⌂���◄4
>As�+h�[▼4↨�H♦���%�a�F↔↓�=��↑�n��L�▬1T��ߖ�Do��◄���9‼�|u �5‼�/ FJ�q�T2Q�W~♀��!T9xndẇsy�W�>�↔��X▬♠n�b↓ٖc♂h8♠��/8��♀��G7.K������͝�▲���☼�D�$62�▲G�)\D�>]����sDb�2{o→�↔§\p@{���1��%A�����Z�7�|��nA♂J�Lj��=�♥4�\@�♣�=h.�y��uG~$w�n�ܒ�oo�E~�~%VK����%d%d������Uҽy �/hΠy�♫↕OB+↓↨D4◄⌂��D��♂D♥>D��♂2@��↕m�яe�E'K������ص}�C♀�'��♠�Ȼ↕^��⌂��↕���s.♂�)�Ƕ9�zLa-�d�Uv�⌂hv�=����V⌂☺E↨���r�Jg8���Z�J�j�=Rߪ���m U�6T♥m�▬Q���☼�MC�/8�p[☺��P�hC��6l�E;�ڄ� ��R���N��K↨\6R�h�q �♥@x♂��↕]���t������RSJ↨.�>����/��v�+↑C�♥j0�☼�@v���C��kz0☺♂�☺c0♣[0v��Л[R�m��☼♦�"P���♥�☺▼t�▼�↔t��04▼���ڏ]i�=�[�d�↨w������a?�8������▲��q��T♥▬��▼�▼▼�=����a��:����Y⌂B♂݉C¶M�4�t8v�y�m� ♫e�]�~�↑ij�z]↑���V�d♀,G�A��j���▼�/♫ K����W�piZ�[^.��V�j�m�∟�ay��♂N3\t�S�����oz��~q�Y⌂��w/�wo�Ꝺ☻]8⌂t��}��u�♥-‼�J�#�'Ye ��"��3�(D��♥�<q!:�C��♠¶m�▲*qŜ����}t�����o��¶�¶C♫��s�YmzB{��~9☻���<'���C9☻ ♂�~�j9�▼�ڗ�Ҙ8�#@�D�r♦§q˃�5⌂☻�< F���s�rkE\►���/����p�♀�ˋa7E�6☼=?��?i��~<T�▲~����ƴ2wL�x��♣�l���mʘ��:��xwOY����ӝO,m���↕��◄⌂��e�й6�|�~bȊ�L�&�l�T9☻��}���O�z��?�-§��§�♦6�iWS���$sa2K%�hIX�N☺���→�%���[�4YG ♂[�b♠
��↕�q������/ߋ��/���Fe������|7����+�(Z}up�X��r�B��►◄Ίڔ���l]♣d☻��*>�Q��3��Ϟ�On�u�p��qK